Fix pytables expressions with Python 3.9
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Thu, 22 Oct 2020 06:14:29 +0000 (07:14 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Thu, 22 Oct 2020 06:14:29 +0000 (07:14 +0100)
commita0c156d88cc26e0e6e8d833b170e4fe9f73a5480
treeff8ab7cbd0534253d73d68508d064ba351cabd00
parenta44db2e2a3f04b5dab721b8eb751181c067bb5da
Fix pytables expressions with Python 3.9

ast.Index has been replaced by a bare value, so we need to do the
conversion from Constant to int

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/972015
Forwarded: https://github.com/pandas-dev/pandas/issues/37217

Gbp-Pq: Name python39_compat.patch
pandas/core/computation/pytables.py